package Acoes;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import InterfaceGrafica.PainelDeInvestimentos;

public class AcaoDeLimparInvestimentos extends AbstractAction{
	private PainelDeInvestimentos painel;
	
	public AcaoDeLimparInvestimentos(PainelDeInvestimentos p){
		painel = p;
	}
	@Override
	public void actionPerformed(ActionEvent e) {
		//limpa lista de investimentos
		painel.limpaTabela();
	}

}